package org.zh.home.dao;

import java.util.List;

import org.zh.home.entity.Role;
import org.zh.home.entity.User;
import org.zh.home.model.Pager;
import org.zh.home.model.Query;

public interface IRoleDao extends IBase<Role> {
	public List<Role> list(List<Query> model);
	public Pager<Role> find(List<Query> model);
	public List<User> listUserByRole(int roleId);
	public List<Integer> listUserIdsByRole(int roleId);
	public void deleteRoleResource(int id);
	public void updateUserGroupRole(int id);
}
